package userinfo

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func userinfoGet(ctx *gin.Context){
	fullPath := ctx.FullPath()
	ctx.JSON(http.StatusOK, map[string]interface{}{
		"code":200,
		"msg":"ok",
		"data":fullPath,
	})
}
func userinfoPost(ctx *gin.Context){
	fullPath := ctx.FullPath()
	ctx.JSON(http.StatusOK, map[string]interface{}{
		"code":200,
		"msg":"ok",
		"data":fullPath,
	})
}
func userinfoPut(ctx *gin.Context){
	fullPath := ctx.FullPath()
	ctx.JSON(http.StatusOK, map[string]interface{}{
		"code":200,
		"msg":"ok",
		"data":fullPath,
	})
}
func userinfoDelete(ctx *gin.Context){
	fullPath := ctx.FullPath()
	ctx.JSON(http.StatusOK, map[string]interface{}{
		"code":200,
		"msg":"ok",
		"data":fullPath,
	})
}